USE [GERP_Dev4]
GO

/****** Object:  Table [dbo].[FimPaymentRecordPrints]    Script Date: 26/12/2556 14:16:46 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[FimPaymentRecordPrints](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[ref_id] [int] NOT NULL,
	[ref_no] [nvarchar](50) NULL,
	[doc_type] [nvarchar](10) NULL,
	[book_no] [int] NULL,
	[doc_no] [int] NULL,
	[print_flag] [int] NULL,
	[created_by] [int] NULL,
	[created_when] [datetime] NULL,
	[record_status] [nvarchar](2) NULL
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[FimPaymentRecordPrints] ADD  CONSTRAINT [DF_FimPaymentRecordPrints_record_status]  DEFAULT (N'W') FOR [record_status]
GO

